<template>
    <div>
        <MobileNumInput ref="mobileNumDom" v-model="mobileNum"></MobileNumInput>
        <SmsCodeInput ref="verifyCodeDom"></SmsCodeInput>
    </div>
</template>

<script>
import Utils from '../utils/Utils';
export default {
    data(){
        return {
            mobileNum: '',
        }
    },
    methods: {
        getValue(){

        },
        getForm(){
            return {
                mobileNum: this.$refs.mobileNumDom,
                verifyCode: this.$refs.verifyCodeDom,
            };
        },
    },
    beforeMount(){
        this.$form = this.$parent.$form;
    },
    mounted(){
        Utils.mergeObject(this.$form, this.getForm());
    },
}
</script>